<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>计算器</title>
</head>

<body>
    <div class="calculator">
        <div class="result">0</div>
        <div class="input-group">
            <input type="text" class="fInput" value="0">
            <input type="text" class="sInput" value="0">
        </div>
        <div class="btn-group">
            <button data-method='plus'>+</button>
            <button data-method='minus'>-</button>
            <button data-method="mul">*</button>
            <button data-method="div">/</button>
        </div>
    </div>

    <script src="js/index.js"></script>
</body>

</html>